//
//  AppKiwiTest.m
//  ShopApp
//
//  Created by chenguibang on 2017/3/7.
//  Copyright © 2017年 chenguibang. All rights reserved.
//


#import "Kiwi.h"
#import <BGRoutes/BGRoutes.h>
SPEC_BEGIN(Spaec)

describe(@"SimpleString", ^{
    describe(@"SimpleString", ^{
        context(@"when assigned to 'Hello world'", ^{
    
            NSString *fileName = [[NSBundle mainBundle]pathForResource:@"bgroutes" ofType:@"sqlite"];
            BGRouteManager *greeting = [[BGRouteManager alloc]init];
            [greeting setUpRulesWithSQLite:fileName];
            it(@"fileName not null", ^{
                [[fileName shouldNot] beNil];
            });
            
            it(@"should equal to 'Hello world'", ^{
                [[greeting.fmDatabase shouldNot] beNil];
            });
        });
       
        
    });
});

SPEC_END
